package com.youmans.dfsservice.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youmans.common_utils.config.MybatisPlusRedisCache;
import com.youmans.dfsservice.entity.YoumansPicture;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 图片表 Mapper 接口
 * </p>
 *
 * @author youmans
 * @since 2022-10-16
 */
//@CacheNamespace(implementation= MybatisPlusRedisCache.class,eviction=MybatisPlusRedisCache.class)
@Mapper
public interface YoumansPictureMapper extends BaseMapper<YoumansPicture> {

    List<YoumansPicture> selectDelPic(@Param("gmt_create") String gmt_create, @Param("user_id") String user_id);

    void batchDelByIds(@Param("idList") List<String> idList);
}
